package com.caocaog.market.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caocaog.market.entity.ShopPromoHis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品促销历史信息
 *
 * @author chechen
 * @date 2021-11-20
 */
public interface ShopPromoHisMapper extends BaseMapper<ShopPromoHis> {

    IPage<ShopPromoHis> queryShopPromoHisPage(Page<ShopPromoHis> page, @Param("shopPromoHis") ShopPromoHis shopPromoHis);

//    ShopPromoHisVO selectOneById(String id);

    List<ShopPromoHis> selectShopPromoHisByShopId(String shopId);
}
